package com.xnyzc.lhy.mis.entity.platform;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 平台时间控制 类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaSysPlatformTimeControl对象", description = "平台时间控制 类")
public class OaSysPlatformTimeControl implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "control_id", type = IdType.INPUT)
    private Long controlId;

    @ApiModelProperty(value = "规则组ID")
    private Long groupId;

    @ApiModelProperty(value = "城市ID")
    private Integer cityId;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "渠道ID")
    private Integer channelId;

    @ApiModelProperty(value = "渠道名字")
    private String channelName;

    @ApiModelProperty(value = "是否使用全时 0使用 1不使用 优先判断")
    private Integer useFullTime;

    @ApiModelProperty(value = "开始时间段")
    private String startTime;

    @ApiModelProperty(value = "结束时间段")
    private String endTime;

    @ApiModelProperty(value = "延迟时间 内")
    private String delayTime;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    public static final String GROUP_ID = "group_id";

    public static final String CITY_ID = "city_id";

    public static final String CHANNEL_ID = "channel_id";

    public static final String CHANNEL_NAME = "channel_name";

    public static final String COMPANY_ID = "company_id";

    public static final String DELETED = "deleted";

}
